import request from '@/utils/request'

//  列表
export function getBindList(data) {
    return request({
        url: '/bindingdaily/list',
        method: 'post',
        data,
    })
}
//
export function getBindById(data) {
    return request({
        url: '/bindingdaily/getById',
        method: 'post',
        data,
    })
}
export function addBind(data) {
    return request({
        url: '/bindingdaily/add',
        method: 'post',
        data,
    })
}
export function updateBind(data) {
    return request({
        url: '/bindingdaily/update',
        method: 'post',
        data,
    })
}
export function deleteByIdBind(data) {
    return request({
        url: '/bindingdaily/deleteById',
        method: 'post',
        data,
    })
}
// 审核
export function updateStatus(data) {
    return request({
        url: '/bindingdaily/updateStatus',
        method: 'post',
        data,
    })
}
//  获取保报工保养记录
export function listReportCare(query) {
  return request({
    url: '/mes/caredetail/reportcarelist',
    method: 'get',
    params: query
  })
}


// 查询用户列表
export function getMesbindList(query) {
  return request({
    url: "/bindingdaily/getmesbindlist",
    method: 'get',
    params: query
  })
}
